// Reverse return value

#include <iostream>
#include <typeinfo>
using namespace std;

auto foo( int x, double y ) -> decltype(x+y) {
	return x + y;
}


int main( void ) {
	auto f = foo( 10, 3.14 );
	cout << "f type : " << typeid(f).name( ) << endl;

	return 0;
}

